// import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import api from './service'
import { sync } from 'vuex-router-sync'

sync(store, router)

Vue.prototype.$api = api

/* eslint-disable no-new */
new Vue(Vue.util.extend({ el: '#root', router, store }, App))

router.push('/')
